package com.lightkits.wms.dto;

import com.lightkits.framework.common.utility.date.DateUtil;

import java.util.Date;

/**
 * test
 *
 * @author jing.wei@hand-china.com
 * Created on 2019/2/20 11:02
 */
public class test {
    public static void main(String[] args) throws Exception {
        Date date1 = DateUtil.toDate("2019-05-14 06:09:44", "yyyy-MM-dd HH:mm:ss");
        System.out.println(date1.getTime());
        Date date2 = DateUtil.toDate("2019-05-14 08:23:49", "yyyy-MM-dd HH:mm:ss");
        System.out.println(date2.getTime());

    }
}
